﻿Imports System
Imports System.Collections.Generic
Imports System.Linq
Imports System.Text
Imports System.Windows
Imports System.IO
Imports System.Windows.Markup
Imports System.Windows.Media
Imports System.Windows.Controls
Imports System.Globalization

Public Class WindowRestoreButton
    Inherits WindowButton
    Public Sub New()
        'open resource where in XAML are defined some required stuff such as icons and colors
        'Dim resourceStream As Stream = Application.GetResourceStream(New Uri("ButtonIcons.xaml", UriKind.Relative)).Stream
        'Dim resourceDictionary As ResourceDictionary = CType(XamlReader.Load(resourceStream), ResourceDictionary)

        Me.Content = Me.Resources("WindowButtonRestoreIcon")
        Me.ContentDisabled = Me.Resources("WindowButtonRestoreIconDisabled")
    End Sub
End Class